home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / ppp.z / ppp
Encoding:
Text File  |  2002-10-03  |  62.7 KB  |  1,255 lines

  1.  
  2.  
  3.  
  4. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ppp, if_ppp, ppp_fram - Point-to-Point Protocol
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      pppppppppppp [----dddd] [----rrrr _r_e_m_o_t_e] [----ffff _c_f_i_l_e]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      PPP is a standard protocol for transmitting network data over point-to-
  16.      point links using synchronous modems, asynchronous modems, or ISDN links.
  17.      It can be used to transfer data between applications which are using
  18.      TCP/IP or UDP/IP.
  19.  
  20.      The _p_p_p program is used to connect to a remote machine.  It does
  21.      everything necessary to permit network data to reach the modem or ISDN
  22.      line, and to connect the TTY port to the rest the network system.  It
  23.      does things that are done by iiiiffffccccoooonnnnffffiiiigggg(1M) for other network interfaces.
  24.      The result is a "point-to-point" link that can be part of an existing IP
  25.      interwork.
  26.  
  27.      The ----dddd flag requests additional debugging information.  Additional
  28.      instances of -d produce more information.  The debugging information is
  29.      sent to the system log (usually /_v_a_r/_a_d_m/_S_Y_S_L_O_G) if its standard error
  30.      file descriptor is not a tty.  The signals SIGUSR1 and SIGUSR2 increase
  31.      and decrease the amount of debugging information.
  32.  
  33.      Avoid increasing the debugging level to more than 1, because entire
  34.      packets will be logged, including those containing PPP PAP and CHAP names
  35.      and passwords, which can let anyone who can read the system log discover
  36.      the passwords.
  37.  
  38.      Another reason to avoid increasing the debugging level to more than 1 is
  39.      that turns on messages from the IRIX kernel.  While the kernel is
  40.      displaying the message, it has all interrupts turned off, which can cause
  41.      input to be lost, which often causes more messages from the kernel, and
  42.      so on.
  43.  
  44.      The ----ffff flag specifies an alternative control file instead of
  45.      /_e_t_c/_p_p_p._c_o_n_f.
  46.  
  47.      The ----rrrr flag specifies the label of an entry in the control file.  If ----rrrr
  48.      is absent, the value of the environment variable $USER specifies the
  49.      label of the control file entry.
  50.  
  51.      The operation of the ppp program is controlled by a control file.  The
  52.      control file must be owned by and readable only by UID=0, because it can
  53.      contain PAP or CHAP authentication secrets.  Comment lines in the control
  54.      file start with a '#' character and are ignored, as are blank lines.  A
  55.      '#' character after a keyword and value also signals a comment to the end
  56.      of the line.  Each entry starts with a label that is often the name of a
  57.      remote system.  Non-blank, non-comment lines that start with blanks or
  58.      tabs are continuations of the previous non-comment line.  Each label is
  59.      followed by zero or more keywords or keywords followed by an "="
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      character and a value.  Blanks separate keywords.  Upper and lower case
  75.      letters have the same significance in keywords.  Values for keywords can
  76.      be quoted to contain blanks or '#' characters.  Standard backslash escape
  77.      sequences are supported, except that NUL is never permitted.
  78.  
  79.      There are a large number of parameters that can be modified.  TTTThhhheeee ddddeeeeffffaaaauuuulllltttt
  80.      vvvvaaaalllluuuueeeessss ooooffff tttthhhheeee ppppaaaarrrraaaammmmeeeetttteeeerrrrssss aaaarrrreeee aaaapppppppprrrroooopppprrrriiiiaaaatttteeee ffffoooorrrr mmmmoooosssstttt ssssiiiittttuuuuaaaattttiiiioooonnnnssss....
  81.      UUUUnnnnnnnneeeecccceeeessssssssaaaarrrryyyy cccchhhhaaaannnnggggeeeessss ttttoooo tttthhhheeeesssseeee ppppaaaarrrraaaammmmeeeetttteeeerrrrssss iiiissss tttthhhheeee mmmmoooosssstttt ccccoooommmmmmmmoooonnnn ccccaaaauuuusssseeee ooooffff
  82.      pppprrrroooobbbblllleeeemmmmssss....  A machine that only answers calls need not have a control file
  83.      at all.  Consider using a control file based on the sample below.
  84.  
  85.      PPP authentication is not strictly necessary when using asynchronous
  86.      modems, because ordinary UNIX usernames and passwords are checked.
  87.      Because the ISDN calling-number information is not always available, it
  88.      is important to use authentication incoming ISDN connections, often with
  89.      rrrreeeeccccoooonnnnffffiiiigggguuuurrrreeee.  It is also important to use authentication on switched
  90.      synchronous wide area network connections.`
  91.  
  92.      When the default value for ----rrrr is used (for example when ppp is the shell
  93.      for an account), some parameters such as the iiiinnnn, oooouuuutttt, and qqqquuuuiiiieeeetttt modes are
  94.      ignored.  This allows a single control line to serve for both input and
  95.      output.
  96.  
  97.      The machine that originates the PPP connection (or both machines for
  98.      symmetric demand dialing) can usually start the ppp program with
  99.      pppppppppppp ----rrrr rrrreeeemmmmooootttteeee.  The machine that answers a modem call (both machines for
  100.      symmetric demand dialing using modems) should have an account with a
  101.      "shell" that is the ppp program.  The resulting $USER environment
  102.      variable is then used to select an entry in the control file.  An
  103.      incoming ISDN call causes the ISDN daemon (see iiiissssddddnnnndddd(1M)) to start the
  104.      ppp program with $USER set to _ISDN_INCOMING.  An incoming synchronous
  105.      wide area call causes the WSYNC deamon (see wwwwssssyyyynnnnccccdddd(1M)) to start the ppp
  106.      program with $USER set to _WSYNC_INCOMING.
  107.  
  108.      The following list of control file parameters is somewhat ordered into
  109.      groups of related functions, with groups least unlikely to be changed
  110.      first.
  111.  
  112.      ddddeeeebbbbuuuugggg[[[[====_n_u_m]
  113.           increases the debugging information sent to the system log.  See
  114.           also the ----dddd flag described above, including the warning about high
  115.           levels of debugging.
  116.  
  117.      ccccoooonnnnttttiiiinnnnuuuueeee====_n_a_m_e
  118.           effectively concatenates the named control file entry to the current
  119.           line.  This can be used with a line naming a fictitious system but
  120.           containing common settings.
  121.  
  122.           To avoid security and other problems, _n_a_m_e should not be a valid
  123.           hostname.  Including a character invalid in a hostname, as in
  124.           +_c_o_m_m_o_n, is a good idea.
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  137.  
  138.  
  139.  
  140.      rrrreeeeccccoooonnnnffffiiiigggguuuurrrreeee
  141.           indicates that this control file entry is a generic (probably
  142.           incoming) entry, and that the remote machine must provide a _n_a_m_e
  143.           using one of the PPP authentication protocols.  The name is used to
  144.           select a new control file entry, and that entry is used to set
  145.           almost all PPP parameters.  This mechanism is useful for ISDN and
  146.           WSYNC connections which do not use the familiar _g_e_t_t_y and _l_o_g_i_n
  147.           mechanisms.
  148.  
  149.           When the CHAP protocol is used, the remote system must receive a
  150.           "challenge" so that it can respond with its name.  sssseeeennnndddd____nnnnaaaammmmeeee must be
  151.           used in the rrrreeeeccccoooonnnnffffiiiigggguuuurrrreeee entry if the name used in the challenge is
  152.           not the local hostname.  The "secrets" used with CHAP authentication
  153.           should be specified in the entry parsed after the rrrreeeeccccoooonnnnffffiiiigggguuuurrrreeee entry.
  154.           The reconfiguration entry should only pick the authentication
  155.           protocol(s) and (if necessary) specify the CHAP name to send.
  156.  
  157.           The only parameters that are not reset according to the new entry
  158.           are those that cannot be changed, having already been used to
  159.           configure the link.  Other parameters are either set to the values
  160.           specified in the new control file entry or to their defaults.  Some
  161.           parameters such as ACCM that have already been negotiated but that
  162.           can be renegotiated with the other system can be changed between the
  163.           rrrreeeeccccoooonnnnffffiiiigggguuuurrrreeee entry and the new entry.  If possible, it is best
  164.           specify as little as possible, using the default parameters in the
  165.           reconfigure entry.
  166.  
  167.           If an explicit rrrreeeeccccvvvv____nnnnaaaammmmeeee is not specified, then any valid username
  168.           on the local system can be sent by the PPP peer.  A list of explicit
  169.           names can be used to restrict the permitted names.
  170.  
  171.      rrrreeeeccccvvvv____nnnnaaaammmmeeee====_n_a_m_e
  172.           requires the remote machine to authenticate itself using _n_a_m_e and
  173.           the corresponding IRIX (PAP) password or specified CHAP secret.  A
  174.           null _n_a_m_e allows the remote machine to authenticate itself using PAP
  175.           with any IRIX username valid on the local machine.
  176.  
  177.           Several rrrreeeeccccvvvv____nnnnaaaammmmeeee specifications can be used to accept any of
  178.           several names. This is useful in a rrrreeeeccccoooonnnnffffiiiigggguuuurrrreeee entry.  The parameter
  179.           is redundant and ignored in the control file entry parsed after the
  180.           reconfigure entry, because a name has already been received from the
  181.           peer and used to choose the new control file entry.  However, that
  182.           entry might be parsed for an out-going connection and so might need
  183.           the parameter then.
  184.  
  185.           Whether the name is used in the PAP or the CHAP protocols depends on
  186.           which of the two protocols are negotiated.  Which of the protocols
  187.           are acceptable and so might be negotiated depends on whether
  188.           sssseeeennnndddd____ppppaaaapppp, sssseeeennnndddd____cccchhhhaaaapppp, and so on are specified.  In the absence of any
  189.           specification and when passwords, names, or rrrreeeeccccoooonnnnffffiiiigggguuuurrrreeee are
  190.           specified, PAP is the default.  When both are specified, then CHAP
  191.           is offered to the peer first.
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  203.  
  204.  
  205.  
  206.           The PAP name and password received from the peer must be in the
  207.           familiar IRIX password and username database.  The UID, GUID,
  208.           "shell" and other parameters associated with the username are
  209.           ignored.  The PAP name and password sent to the peer and the CHAP
  210.           names and passwords need not be in the IRIX password database.
  211.  
  212.           If neither rrrreeeeccccvvvv____nnnnaaaammmmeeee nor any other authentication parameter is
  213.           specified and rrrreeeeccccoooonnnnffffiiiigggguuuurrrreeee is not used, then no PAP requests will be
  214.           sent, the remote machine need not authenticate itself, and any
  215.           authentication it offers will be accepted.  Such a lack of
  216.           authentication is often considered a bad idea.
  217.  
  218.      sssseeeennnndddd____nnnnaaaammmmeeee====_n_a_m_e
  219.           specifies the name to be sent to the remote machine as part of PAP
  220.           or CHAP authentication.
  221.  
  222.           The remote machine might or might not treat the _n_a_m_e it receives as
  223.           an IRIX username.
  224.  
  225.           If PAP and not CHAP is used, the name to be sent can be omitted from
  226.           a control file entry with rrrreeeeccccoooonnnnffffiiiigggguuuurrrreeee, in which case the local
  227.           system will delay authenticating itself with PAP to the other system
  228.           until the peer has authenticated itself.  That allows the PAP name
  229.           to be in the second control file entry chosen according to the name
  230.           supplied by the peer when it authenticated itself.  If the name is
  231.           specified in the reconfigure entry, it cannot be changed in the
  232.           second control file entry, although the same name can be specified
  233.           again.
  234.  
  235.           If the name is not specified, but CHAP is specified with sssseeeennnndddd____cccchhhhaaaapppp
  236.           or rrrreeeeccccvvvv____cccchhhhaaaapppp, then the hostname is the default.  This name is used
  237.           in both CHAP challenges and responses to name this machine.  This
  238.           name must be the same in both the rrrreeeeccccoooonnnnffffiiiigggguuuurrrreeee and second control
  239.           file entries, even when it is defaulted and not explicitly
  240.           specified.
  241.  
  242.      sssseeeennnndddd____ppppaaaasssssssswwwwdddd====_s_t_r_i_n_g
  243.           specifies the password to be sent to the remote machine as PAP
  244.           authentication or the secret used to generate CHAP responses.
  245.  
  246.           The CHAP rrrreeeeccccvvvv____ppppaaaasssssssswwwwdddd and sssseeeennnndddd____ppppaaaasssssssswwwwdddd secrets should be distint to
  247.           avoid a security problem.
  248.  
  249.           The control file must be readable only for UID=0 to keep such
  250.           passwords secret.
  251.  
  252.           The password to be sent to the peer can be omitted from the
  253.           rrrreeeeccccoooonnnnffffiiiigggguuuurrrreeee entry, in which case the local system will delay
  254.           authenticating itself until the peer has begun authenticated itself.
  255.           That allows the password to be in the second control file entry
  256.           chosen according to the name supplied by the peer when it
  257.           authenticated itself.  If the password is specified in the
  258.  
  259.  
  260.  
  261.                                                                         PPPPaaaaggggeeee 4444
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  269.  
  270.  
  271.  
  272.           reconfigure entry, it cannot be changed in the second control file
  273.           entry.
  274.  
  275.      rrrreeeeccccvvvv____ppppaaaasssssssswwwwdddd====_s_t_r_i_n_g
  276.           specifies the "secret" used to generate responses to CHAP challenges
  277.           from the other system.  If CHAP is turned on with rrrreeeeccccvvvv____cccchhhhaaaapppp, then a
  278.           secret must be specified.
  279.  
  280.           The CHAP rrrreeeeccccvvvv____ppppaaaasssssssswwwwdddd and sssseeeennnndddd____ppppaaaasssssssswwwwdddd secrets should be distint to
  281.           avoid a security problem.
  282.  
  283.           The control file must be readable only for UID=0 to keep such
  284.           passwords secret.
  285.  
  286.      sssseeeennnndddd____ppppaaaapppp
  287.           says that this system can authenticate itself to the other system by
  288.           sending PAP requests.
  289.  
  290.      ----sssseeeennnndddd____ppppaaaapppp
  291.           says that this system will not authenticate itself to the other
  292.           system by sending PAP requests.
  293.  
  294.      sssseeeennnndddd____cccchhhhaaaapppp
  295.           says that this system can authenticate itself to the other system by
  296.           sending CHAP responses in answer to CHAP challenges received from
  297.           the other system.  CHAP is preferred to PAP if both are available
  298.           when sssseeeennnndddd____ppppaaaapppp is also specified.
  299.  
  300.      ----sssseeeennnndddd____cccchhhhaaaapppp
  301.           prevents this system from authenticating itself by sending CHAP
  302.           responses CHAP.
  303.  
  304.      rrrreeeeccccvvvv____ppppaaaapppp
  305.           says this system would like to authenticate the remote system by
  306.           receiving PAP requests from the remote system.
  307.  
  308.      ----rrrreeeeccccvvvv____ppppaaaapppp
  309.           says the other system cannot authenticate itself to this system with
  310.           PAP.
  311.  
  312.      rrrreeeeccccvvvv____cccchhhhaaaapppp
  313.           says the other system can authenticate itself to this system with
  314.           CHAP responses answering CHAP challenges sent by this system.  CHAP
  315.           is preferred if both PAP and CHAP are available when rrrreeeeccccvvvv____ppppaaaapppp is
  316.           also specified.
  317.  
  318.      ----rrrreeeeccccvvvv____cccchhhhaaaapppp
  319.           says the other system cannot authenticate itself to this system with
  320.           CHAP.
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.                                                                         PPPPaaaaggggeeee 5555
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  335.  
  336.  
  337.  
  338.      mmmmaaaaxxxx____aaaauuuutttthhhh____sssseeeeccccssss====_s_e_c_s
  339.           changes the time the deadline for the other machine to respond to an
  340.           authorization request from the default of 30 seconds.
  341.  
  342.      aaaauuuutttthhhh____sssseeeeccccssss====_s_e_c_s
  343.           changes delay between retransmissions of authentication requests
  344.           from the default of 5 seconds.
  345.  
  346.      cccchhhhaaaapppp____rrrreeeeaaaauuuutttthhhh____sssseeeeccccssss====_s_e_c_s
  347.           causes CHAP challenges to be sent periodically.  The interval must
  348.           be at least 10 seconds and at most 2 hours or 7200 seconds
  349.  
  350.      ----uuuuttttmmmmpppp
  351.           turns off the "utmp" entries (see uuuuttttmmmmpppp(4)) otherwise added for
  352.           incoming ISDN or T1 and all outgoing connections.
  353.  
  354.      nnnneeeettttmmmmaaaasssskkkk====_m_a_s_k
  355.           overrides the default netmask for the link.  Because a PPP link is a
  356.           point-to-point link, the netmask is not used directly.  However, the
  357.           new RIP routing daemon uses it to infer whether subnetting is used
  358.           by the remote system.  Thus, if the remote system is treating the
  359.           link as "unnumbered" and using its primary host address for its end
  360.           of the link, then the local PPP interface should have the netmask
  361.           that the remote system is using for its primary network interface.
  362.  
  363.      mmmmeeeettttrrrriiiicccc====_n_u_m
  364.           overrides the default routing metric associated with the link.
  365.  
  366.      mmmmttttuuuu====_n_u_m
  367.           overrides the default, 1500 byte "maximum transmission unit" or MTU
  368.           associated with a PPP link.  The normal PPP negotiating mechanism
  369.           can be used by the computer on the other end of the link to reduce
  370.           the size of packets transmitted by the local machine when the link
  371.           is first made.  The MTU cannot be reduced after kernel has committed
  372.           to is, as with demand dialing.
  373.  
  374.      aaaadddddddd____rrrroooouuuutttteeee="_r_t-_c_m_d"
  375.           executes the command `/usr/etc/route rt-cmd`, presumably to add an
  376.           IP route to the kernel routing tables.  The environment variable
  377.           $REMOTEADDR contains the IP address of the remote machine, the
  378.           address at the other end of the PPP link.  See rrrroooouuuutttteeee(1M).
  379.  
  380.           If the _r_t-_c_m_d starts with "add" and if the ----ddddeeeellll____rrrroooouuuutttteeee is not used,
  381.           then the route will be deleted when the ppp program ends and
  382.           interface is removed.
  383.  
  384.           Note that this route is a "static route."  Routing daemons such as
  385.           gated and routed should usually be turned off when this keyword is
  386.           used, except when the new version of routed initially available in a
  387.           patch for IRIX 6.2 is used.  See ggggaaaatttteeeedddd(1M), rrrroooouuuutttteeeedddd(1M), and
  388.           cccchhhhkkkkccccoooonnnnffffiiiigggg(1M).
  389.  
  390.  
  391.  
  392.  
  393.                                                                         PPPPaaaaggggeeee 6666
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  401.  
  402.  
  403.  
  404.      aaaadddddddd____rrrroooouuuutttteeee
  405.           has the same effect as aaaadddddddd____rrrroooouuuutttteeee====""""_a_d_d _d_e_f_a_u_l_t #".
  406.  
  407.      ----ddddeeeellll____rrrroooouuuutttteeee
  408.           turns off the default removal of the route added by aaaadddddddd____rrrroooouuuutttteeee.
  409.  
  410.      ddddeeeellll____rrrroooouuuutttteeee="_r_t-_c_m_d"
  411.           executes the command `/usr/etc/route _r_t-_c_m_d` when the PPP link is
  412.           shut down, presumably to delete a route added with aaaadddddddd____rrrroooouuuutttteeee.  This
  413.           is useful in case the route added did not start with "add" and so
  414.           when the default removal of the route is disabled.
  415.  
  416.      pppprrrrooooxxxxyyyy____aaaarrrrpppp====_i_f_n_a_m_e
  417.           specifies that an ARP table entry for the IP address of the remote
  418.           system should be added using the MAC address of the specified
  419.           interface.
  420.  
  421.      ----pppprrrrooooxxxxyyyy____aaaarrrrpppp
  422.           turns off the default addition of an ARP table entry for the remote
  423.           system.  Otherwise, if the IP address of the remote system has a
  424.           network number equal to one of the non-point-to-point interfaces of
  425.           the local system, then a suitable proxy-ARP table entry will be
  426.           added.
  427.  
  428.      uuuuuuuuccccpppp____nnnnaaaammmmeeee====_u_n_a_m_e
  429.           specifies a name in the /_e_t_c/_u_u_c_p/_S_y_s_t_e_m_s file for dialing.  Its
  430.           default value is the remote machine name.  UUCP hostnames can be at
  431.           most 7 or sometimes 8 characters long.  It is useful to use one name
  432.           for dialing and another for TCP/IP when the more public, harder to
  433.           change TCP/IP name is longer than 7 characters.
  434.  
  435.      llllooooccccaaaallllhhhhoooosssstttt====_i_p_n_a_m_e[,_m_a_s_k]
  436.           specifies one of the set of IP addresses for the local end of the
  437.           PPP link.  Additional instances of the keyword add to the set of
  438.           acceptable local addresses.
  439.  
  440.           During the IP part of negotiations during the PPP connection
  441.           initiation, the local machine insists that the negotiated address be
  442.           a member of the set.  The _i_p_n_a_m_e can be a hostname or a numeric IP
  443.           address.  If absent, the mask is assumed to be "255.255.255.255".
  444.           The pair (_i_p_n_a_m_e,_m_a_s_k) specifies all IP addresses such that
  445.           ipname&~mask=0, or in other words, all addresses that match modulo
  446.           the mask.  (Note that this mask has nothing to do with a "netmask.")
  447.           If there is more than one llllooooccccaaaallllhhhhoooosssstttt keyword in a single line in the
  448.           control file, the set used during negotiations is the union of the
  449.           sets specified by all of the keywords.  Use llllooooccccaaaallllhhhhoooosssstttt====_0,_0 to let the
  450.           remote machine pick any IP address for this machine.  If the set
  451.           consists of a single IP address (e.g. a single localhost keyword
  452.           with a default mask or a mask of 255.255.255.255), the local machine
  453.           will not only reject requests to use any other address, but will
  454.           also propose the address with IPCP configuration request packets.
  455.  
  456.  
  457.  
  458.  
  459.                                                                         PPPPaaaaggggeeee 7777
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  467.  
  468.  
  469.  
  470.           If there are no llllooooccccaaaallllhhhhoooosssstttt keywords, the set of local addresses
  471.           defaults to the address of the local machine.  The default is
  472.           usually appropriate, whether connecting two ethernets or extending
  473.           an ethernet to a distant, isolated workstation.  When connecting
  474.           isolated workstations, it is best to use a single network number and
  475.           allocate host numbers on that network for remote workstations.
  476.  
  477.      rrrreeeemmmmooootttteeeehhhhoooosssstttt====_i_p_n_a_m_e[,_m_a_s_k]
  478.           specifies one of the set of IP addresses of the remote end of the
  479.           PPP link.  It behaves just like the llllooooccccaaaallllhhhhoooosssstttt keyword, except that
  480.           the remote end of link is being named and the default is the label
  481.           of the control file entry or the UUCP name, if either is a valid
  482.           hostname.  If neither is a valid hostname, it defaults to
  483.           rrrreeeemmmmooootttteeeehhhhoooosssstttt====_0,_0 to let the remote machine negotiate any IP address it
  484.           wants.
  485.  
  486.           In qqqquuuuiiiieeeetttt mode, the IP addresses of the PPP link are configured
  487.           before the other machine is contacted, since the rest of the system
  488.           must know the addresses in order to send traffic over the link to
  489.           cause the link to be dialed.  That means that in quiet mode, the IP
  490.           addresses cannot be defaulted or negotiated.
  491.  
  492.      rrrreeeemmmm____ssssyyyyssssnnnnaaaammmmeeee====_n_a_m_e
  493.           specifies a name for the remote system.  This name may differs from
  494.           the remote hostname of the system.  By default, this name is the
  495.           same as the label of the control file entry, specified with ----rrrr or
  496.           the environment variable $USER.  This control is necessary only when
  497.           MP Endpoint Discriminators are turned off or not supported by the
  498.           peer.
  499.  
  500.      ----aaaaddddddddrrrr____nnnneeeeggggoooottttiiiiaaaatttteeee
  501.           disables IPCP address negotiation.  This is useful only when the
  502.           peer does not implement the ADDR Configure-Request option, the
  503.           default values for rrrreeeemmmmooootttteeeehhhhoooosssstttt and llllooooccccaaaallllhhhhoooosssstttt are correct, and it is
  504.           worthwhile to save the cost of an extra round of Configure-Reject
  505.           and Configure-Request.  Use of this facility should be avoided,
  506.           because it disables the detection of one of the most common
  507.           configuration errors.
  508.  
  509.      aaaaccccttttiiiivvvveeee____ttttiiiimmmmeeeeoooouuuutttt====_s_e_c_s
  510.           sets the number of seconds of idleness while at least one TCP
  511.           connection seems to be open before the PPP link is broken.  The
  512.           lower layers snoop on packets to infer the number of open TCP
  513.           connections that go over the link.  This snooping cannot be made
  514.           entirely reliable, because the end of the connection may be a
  515.           distant machine that forwards only some of its packets through this
  516.           machine, and because only TCP/IP packets transmitted by this machine
  517.           are observed.
  518.  
  519.           The active timeout must be no smaller than the iiiinnnnaaaaccccttttiiiivvvveeee____ttttiiiimmmmeeeeoooouuuutttt.
  520.           See the qqqquuuuiiiieeeetttt mode.  In quiet mode, the active_timeout defaults to
  521.           the inactive_timeout, and if neither is specified, the
  522.  
  523.  
  524.  
  525.                                                                         PPPPaaaaggggeeee 8888
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  533.  
  534.  
  535.  
  536.           active_timeout defaults to 300 and the inactive_timeout to 30
  537.           seconds.  Such values limit many telephone calls for quick,
  538.           automatic transactions like email to less than a minute, without
  539.           making interactive sessions painful.  As long as you type at least
  540.           once every 5 minutes in an interactive session, the link will remain
  541.           active.
  542.  
  543.      iiiinnnnaaaaccccttttiiiivvvveeee____ttttiiiimmmmeeeeoooouuuutttt====_s_e_c_s
  544.           sets the number of seconds of idleness while no TCP connections seem
  545.           to be open before the PPP link is broken.  This timeout must no
  546.           larger than the aaaaccccttttiiiivvvveeee____ttttiiiimmmmeeeeoooouuuutttt.  See the qqqquuuuiiiieeeetttt mode.  In quiet mode,
  547.           the inactive_timeout defaults to the active_timeout, and if neither
  548.           is specified, the active timeout defaults to 300 and the inactive
  549.           timeout to 30 seconds.
  550.  
  551.           When non-TCP applications are being used, or when applications such
  552.           as Mosaic, involving many short-lived TCP connections are used, it
  553.           can be useful to open a TCP connection (e.g. telnet or login) to a
  554.           remote system to invoke the longer, aaaaccccttttiiiivvvveeee____ttttiiiimmmmeeeeoooouuuutttt.
  555.  
  556.           Specifying a timeout with aaaaccccttttiiiivvvveeee____ttttiiiimmmmeeeeoooouuuutttt or iiiinnnnaaaaccccttttiiiivvvveeee____ttttiiiimmmmeeeeoooouuuutttt turns
  557.           on "demand dialing".  See qqqquuuuiiiieeeetttt.
  558.  
  559.      ttttoooollllllll____bbbboooouuuunnnnddddaaaarrrryyyy====_b_i_l_l_i_n_g__s_e_c_s
  560.           overrides aaaaccccttttiiiivvvveeee____ttttiiiimmmmeeeeoooouuuutttt and iiiinnnnaaaaccccttttiiiivvvveeee____ttttiiiimmmmeeeeoooouuuutttt until the link as been
  561.           active approximately multiple of _b_i_l_l_i_n_g__s_e_c_s seconds.  For example,
  562.           if the telephone company bills for complete minutes, an idle link
  563.           may as well remain connected until near the end of the current
  564.           minute.
  565.  
  566.      bbbbuuuussssyyyy____ddddeeeellllaaaayyyy====_s_e_c_s
  567.           sets the delay before complete saturation of the current links
  568.           causes the addition of an additional line, provided there are fewer
  569.           lines currently active than specified with oooouuuuttttddddeeeevvvvssss.  The default
  570.           delay is 10 seconds, and it is always rounded up to a multiple of 5
  571.           seconds.
  572.  
  573.      iiiiddddlllleeee____ddddeeeellllaaaayyyy====_s_e_c_s
  574.           sets the period of at least partial idleness with no moments of
  575.           complete saturation of the links before one of the active lines in
  576.           excess of the number specified with mmmmiiiinnnnddddeeeevvvvssss is turned off.  Only
  577.           links started by the local machine are turned off when they are
  578.           idle.  If all links are completely idle, the aaaaccccttttiiiivvvveeee____ttttiiiimmmmeeeeoooouuuutttt and
  579.           iiiinnnnaaaaccccttttiiiivvvveeee____ttttiiiimmmmeeeeoooouuuutttt will turn off all lines, including incoming lines.
  580.           The default delay is 30 seconds, and it is always rounded up to a
  581.           multiple of 5 seconds.
  582.  
  583.      bbbbppppssss====_n_u_m
  584.           overrides the automatic measurements of the speed of the device.
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.                                                                         PPPPaaaaggggeeee 9999
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  599.  
  600.  
  601.  
  602.      mmmmaaaaxxxxddddeeeevvvvssss====_n_u_m
  603.           changes the maximum number of multilink serial lines.  Connections
  604.           in excess of this number are refused.
  605.  
  606.      oooouuuuttttddddeeeevvvvssss====_n_u_m
  607.           sets the maximum number of multilink serial lines that will be used
  608.           when originating a call.  If the mmmmaaaaxxxxddddeeeevvvvssss value is greater than the
  609.           oooouuuuttttddddeeeevvvvssss value, additional incoming connections in excess of the
  610.           oooouuuuttttddddeeeevvvvssss limit are permitted.
  611.  
  612.      mmmmiiiinnnnddddeeeevvvvssss====_n_u_m
  613.           changes the minimum number of multilink serial lines (e.g. modems)
  614.           from the default of 1.  An additional connection is attempted
  615.           whenever there are fewer, provided this system originated the call.
  616.  
  617.      uuuunnnnssssaaaaffffeeee____mmmmpppp
  618.           allows the system answering the phone to add a link to the multilink
  619.           bundle.  This is usually undesirable, unless the other system is too
  620.           dumb to add links to the bundle when the bundle is saturated.
  621.  
  622.      ----mmmmpppp  disables the PPP multilink protocol, MP.  The BF&I multilink
  623.           protocol will be used instead.
  624.  
  625.      mmmmpppp____sssseeeennnndddd____ssssssssnnnn
  626.           try to send short MP sequence numbers;
  627.  
  628.      mmmmpppp____rrrreeeeccccvvvv____ssssssssnnnn
  629.           accept short MP sequence numbers;
  630.  
  631.      mmmmpppp____hhhheeeeaaaaddddeeeerrrrssss
  632.           requires MP headers even when the bundle consists of a single link.
  633.  
  634.      ----eeeennnnddddppppooooiiiinnnntttt____ddddiiiissssccccrrrriiiimmmmiiiinnnnaaaattttoooorrrr
  635.           turn off endpoint-descriptors when talking to a broken system.
  636.           Endpoint-descriptors extremely useful.
  637.  
  638.      ----mmmmpppp____ffffrrrraaaagggg
  639.           avoids MP fragmentation as much as possible.
  640.  
  641.      mmmmaaaapppp____cccchhhhaaaarrrr____nnnnuuuummmm====_n_u_m
  642.           adds a character to the list of those that must be escaped when
  643.           transmitted over the PPP link.  Not just control characters, but any
  644.           character other than the PPP 0x5e can be marked to be escaped.
  645.           However, only control characters can be negotiated to be escaped
  646.           when received.  See mmmmaaaapppp____cccchhhhaaaarrrr.
  647.  
  648.      aaaaccccccccmmmm====_n_u_m
  649.           sets the list (Async-Control-Character-Map or ACCM) of characters
  650.           that must be escaped when transmitted over the PPP link.  See
  651.           mmmmaaaapppp____cccchhhhaaaarrrr.
  652.  
  653.  
  654.  
  655.  
  656.  
  657.                                                                        PPPPaaaaggggeeee 11110000
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  665.  
  666.  
  667.  
  668.      mmmmaaaapppp____cccchhhhaaaarrrr====_c_h_a_r_s
  669.           adds the control characters corresponding to the letters in the
  670.           string _c_h_a_r_s to the list of those that must be escaped when
  671.           transmitted over the PPP link.  By default, the list is empty, but
  672.           other commonly used lists are all (aaaaccccccccmmmm====_0_x_f_f_f_f_f_f_f_f) and NUL, XOFF,
  673.           and XON (mmmmaaaapppp____cccchhhhaaaarrrr=@_Q_S).
  674.  
  675.      aaaaccccccccmmmm____ppppaaaarrrriiiittttyyyy
  676.           causes control characters to be escaped regardless of their "parity"
  677.           bit.
  678.  
  679.      ----rrrrxxxx____aaaaccccccccmmmm
  680.           Control characters that are received from the peer and in the ACCM
  681.           negotiated with the peer must be discarded according to the PPP
  682.           standard.  This is because there are two reasons for escaping
  683.           control characters.  They might be gratuitously removed by modems or
  684.           other equipment in the line, or they might by gratuitously added.
  685.           This switch overrides the default behavior of discarding bytes that
  686.           should have been escaped but were not.
  687.  
  688.           The transmit ACCM is separate from the receive ACCM.  There is
  689.           nothing the receiver can do except suggest during the negotiations
  690.           when the link is made that transmitter escape more bytes and discard
  691.           bytes that were not escaped but should have been.
  692.  
  693.      iiiinnnn   specifies "input mode" for the ppp program.  In this mode, the local
  694.           machine is expected to accept connections (e.g. telephone calls) for
  695.           the remote machine.  See qqqquuuuiiiieeeetttt.
  696.  
  697.      oooouuuutttt  specifies "output mode" for the ppp program.  In this mode, the
  698.           local machine is expected to initiate the connection to the remote
  699.           machine (e.g. place the telephone call).
  700.  
  701.           Specifying a timeout with aaaaccccttttiiiivvvveeee____ttttiiiimmmmeeeeoooouuuutttt or iiiinnnnaaaaccccttttiiiivvvveeee____ttttiiiimmmmeeeeoooouuuutttt turns
  702.           on "demand dialing" that differs from "quiet mode" only in
  703.           immediately making the connection without waiting for traffic.  See
  704.           qqqquuuuiiiieeeetttt.
  705.  
  706.      qqqquuuuiiiieeeetttt
  707.           specifies "quiet mode" for the ppp program.  When there is traffic,
  708.           it creates the connection.  When the link seems to be idle, it
  709.           breaks the connection, and later restores it when there is more
  710.           traffic.  This is sometimes called "demand dialing."
  711.  
  712.           A qqqquuuuiiiieeeetttt connection must know both IP addresses before the connection
  713.           is established, because the connection is not made until traffic is
  714.           waiting, traffic cannot exist until the remote and local IP
  715.           addresses are known, and so the normal IP address negotiation
  716.           mechanism is not available, and so rrrreeeemmmmooootttteeeehhhhoooosssstttt and llllooooccccaaaallllhhhhoooosssstttt must be
  717.           explicitly specified.
  718.  
  719.           While a qqqquuuuiiiieeeetttt mode connection can be started at the receiving end of
  720.  
  721.  
  722.  
  723.                                                                        PPPPaaaaggggeeee 11111111
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  731.  
  732.  
  733.  
  734.           a connection, it may not have the desired effect.  The daemon does
  735.           not expect to use the serial connection to its standard input in
  736.           quiet mode.  If started in quiet mode as the result of the remote
  737.           system dialing in, the daemon will ignore the incoming serial
  738.           connection.  It expects to wait quietly until it sees locally
  739.           generated traffic and the need to dial its own new link.  One might
  740.           conceivably start a quiet mode daemon remotely for a simple kind of
  741.           traffic driven or "demand dial-back."
  742.  
  743.      ccccaaaammmmpppp turns on "camping," a mode in which the ppp program continually
  744.           tries to reestablish the link whenever it is broken.  Camping can
  745.           only be used in oooouuuutttt mode.  When practical, "demand dialing" with
  746.           qqqquuuuiiiieeeetttt mode is more convenient.
  747.  
  748.      mmmmooooddddwwwwaaaaiiiitttt====_s_e_c_s
  749.           sets the number of seconds the modem is allowed to cool before
  750.           attempting a call.  The default is 5 seconds.  Too short a delay
  751.           between attempts to use the modem can cause various messages,
  752.           including the ever popular "DEVICE LOCKED".
  753.  
  754.      mmmmooooddddttttrrrriiiieeeessss====_n_u_m
  755.           sets the number of consecutive tries to dial the remote machine
  756.           before temporarily giving up, putting the message "giving up for
  757.           now" into the system log, and flushing the output queue.  When
  758.           demand dialing is used, a new series of attempts will be made soon
  759.           after a new packet is put into the output queue (see mmmmooooddddwwwwaaaaiiiitttt).
  760.  
  761.      mmmmooooddddppppaaaauuuusssseeee====_n_u_m
  762.           changes the delay after failed series of attempts to dial the remote
  763.           machine from the default of 0 to _n_u_m seconds.
  764.  
  765.      rrrreeeessssttttaaaarrrrtttt____mmmmssss====_m_i_l_l_i_s_e_c_o_n_d_s
  766.           changes the initial delay before retransmitting PPP control packets
  767.           from the default of 1 seconds.
  768.  
  769.      rrrreeeessssttttaaaarrrrtttt____mmmmssss____lllliiiimmmm====_m_i_l_l_i_s_e_c_o_n_d_s
  770.           changes the limit on the binary exponential increase of rrrreeeessssttttaaaarrrrtttt____mmmmssss
  771.           from the default of 8 seconds.
  772.  
  773.      ccccccccpppp____rrrreeeessssttttaaaarrrrtttt____mmmmssss====_m_i_l_l_i_s_e_c_o_n_d_s
  774.           changes the delay before retransmitting CCP (PPP compression control
  775.           protocol) packets from the default of 6 seconds.  This timer has no
  776.           backoff and starts out longer, because CCP is often done while the
  777.           link is otherwise very busy.  A 3 second timeout is too short on a
  778.           busy 9600 bit/sec link with a 1500-byte MTU.
  779.  
  780.      mmmmaaaaxxxx____FFFFSSSSMMMM____ffffaaaaiiiillll====_n_u_m
  781.           changes the limit on the number of times the PPP finite state
  782.           machine will attempt to negotiate (i.e. Configure-Requests and
  783.           receive Configure-Naks or Configure-Rejects).  The default is 10.
  784.  
  785.  
  786.  
  787.  
  788.  
  789.                                                                        PPPPaaaaggggeeee 11112222
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  797.  
  798.  
  799.  
  800.      mmmmaaaaxxxx____FFFFSSSSMMMM____ccccoooonnnnffff====_n_u_m
  801.           changes the number of times the PPP FSM will send a Configuration-
  802.           Request without receiving a response before giving up (.e. send
  803.           Configure-Requests and no response).  The default is 10.
  804.  
  805.      mmmmaaaaxxxx____FFFFSSSSMMMM____tttteeeerrrrmmmm====_n_u_m
  806.           changes the number of times a Terminate-Request will be sent by the
  807.           local FSM before turning off the link unilaterally.  Use
  808.           _m_a_x__F_S_M__t_e_r_m or _m_a_x__t_e_r_m__m_s but not both.
  809.  
  810.      mmmmaaaaxxxx____tttteeeerrrrmmmm____mmmmssss====_m_i_l_l_i_s_e_c_o_n_d_s
  811.           changes the duration Terminate-Requests will be sent by the local
  812.           FSM before turning off the link unilaterally.  Use _m_a_x__F_S_M__t_e_r_m or
  813.           _m_a_x__t_e_r_m__m_s but not both.  The default is 7 seconds.
  814.  
  815.      ----LLLLCCCCPPPP____IIIIDDDDEEEENNNNTTTT
  816.           turns off LCP Identification packets.  See RFC 1570.
  817.  
  818.      ----LLLLCCCCPPPP____EEEECCCCHHHHOOOOSSSS
  819.           turns off LCP Echo Requests.  By default, an LCP Echo Request packet
  820.           is sent periodically to ensure that the peer is still working.
  821.  
  822.      LLLLCCCCPPPP____EEEECCCCHHHHOOOO____IIIINNNNTTTTEEEERRRRVVVVAAAALLLL====_n_u_m
  823.           changes the repetition rate of LCP Echo Requests from its default
  824.           value of 10 seconds.  The new value must be between 1 and 120
  825.           seconds.
  826.  
  827.      nnnnooooiiiiccccmmmmpppp
  828.           causes the system to discard all ICMP packets instead of
  829.           transmitting them over the link.  This is intended for extremely low
  830.           speed links.
  831.  
  832.      qqqqmmmmaaaaxxxx====_n_u_m
  833.           sets the maximum depth of the interface queue.  The size of the
  834.           queue can be monitored with the _n_e_t_s_t_a_t command.
  835.  
  836.      ----tttteeeellllnnnneeeettttttttoooossss
  837.           turns off the "telnet type of service hack," which tries to give
  838.           interactive traffic better service by moving ICMP packets and TCP
  839.           packets to or from ports 23, 513, or 518 to the front of the
  840.           transmit queue.  Note that the IP TOS "low delay" bits are always
  841.           honored by the PPP driver.
  842.  
  843.      iiiinnnnaaaacccctttt____ppppoooorrrrtttt====_p_o_r_t
  844.           adds the TCP or UDP port number _p_o_r_t to the list of ports that are
  845.           _n_o_t considered evidence of activity.  Traffic transmitted by this
  846.           machine to ports not in the list causes the system to restore the
  847.           PPP link (while in qqqquuuuiiiieeeetttt mode).  The port can be specified by
  848.           number, service name in /_e_t_c/_s_e_r_v_i_c_e_s, or NNNNIIIISSSS service name.
  849.  
  850.           By default, the list contains only ports 13 (daytime), 37 (time),
  851.           123 (ntp), 520 (route), and 525 (timed).
  852.  
  853.  
  854.  
  855.                                                                        PPPPaaaaggggeeee 11113333
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  863.  
  864.  
  865.  
  866.      ----iiiinnnnaaaacccctttt____ppppoooorrrrtttt
  867.           clears the list of uninteresting port numbers, making all ports
  868.           evidence of traffic.
  869.  
  870.      iiiinnnnaaaacccctttt____iiiiccccmmmmpppp====_t_y_p_e
  871.           adds an ICMP packet type to the list of types that are _n_o_t
  872.           considered evidence of activity.  Other kinds of ICMP packets cause
  873.           the system to restore the PPP link (while in qqqquuuuiiiieeeetttt mode).
  874.  
  875.           The packet type must be a number from
  876.           /_u_s_r/_i_n_c_l_u_d_e/_n_e_t_i_n_e_t/_i_p__i_c_m_p._h.  By default, the list contains only
  877.           5 (ICMP_UNREACH), 4 (ICMP_SOURCEQUENCH), 9 (ICMP_ROUTERADVERT), 10
  878.           (ICMP_ROUTERSOLICIT), 13 (ICMP_TSTAMP), and 14 (ICMP_TSTAMPREPLY).
  879.  
  880.      ----iiiinnnnaaaacccctttt____iiiiccccmmmmpppp
  881.           clears the list of uninteresting ICMP packet types.
  882.  
  883.      ssssyyyynnnncccc
  884.  
  885.      ----ssssyyyynnnncccc
  886.           indicate whether the line is "synchronous" or "asynchronous."  The
  887.           default is asynchronous, except when its major device number is
  888.           known to be that of an ISDN line or when the top-most STREAMS module
  889.           is not recognized as the familiar module "TTY line discipline."
  890.  
  891.      xxxxoooonnnn____xxxxooooffffffff
  892.           turns on "XON/XOFF" or "software flow control" when a modem is used.
  893.           This should be avoided if at all possible.
  894.  
  895.      ----ppppccccoooommmmpppp
  896.           disables PPP LCP protocol field compression.  It is on by default.
  897.  
  898.      ----aaaaccccoooommmmpppp
  899.           disables PPP LCP address and control field compression.  It is on by
  900.           default on asynchronous links.
  901.  
  902.      ----vvvvjjjj____ccccoooommmmpppp
  903.           disables Van Jacobson TCP/IP header compression.  It is on by
  904.           default.
  905.  
  906.      vvvvjjjj____ccccoooommmmppppssssllllooootttt
  907.           enables compression of the Van Jacobson TCP/IP header compression
  908.           slot ID.  It is off by default, and should be off whenever there is
  909.           no reliable notification of the kernel PPP code of lost bytes.
  910.           There is no such notification over IRIX asynchronous serial lines.
  911.           Van Jacobson header compression is described in RFC 1144.
  912.  
  913.      ----vvvvjjjj____ccccoooommmmppppssssllllooootttt
  914.           disables compression of the Van Jacobson TCP/IP header compression
  915.           ID.
  916.  
  917.  
  918.  
  919.  
  920.  
  921.                                                                        PPPPaaaaggggeeee 11114444
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  929.  
  930.  
  931.  
  932.      vvvvjjjj____sssslllloooottttssss====_s_l_o_t_s
  933.           changes the number of Van Jacobson TCP header compression slots from
  934.           its default of 16.
  935.  
  936.      ----ccccccccpppp disables the Compression Control Protocol and all link layer
  937.           compression.
  938.  
  939.      ----ttttxxxx____pppprrrreeeeddddiiiiccccttttoooorrrr1111
  940.           disables "Predictor Type 1" link layer compression on packets
  941.           transmitted by this system.
  942.  
  943.      ttttxxxx____bbbbssssdddd====_b_i_t_s
  944.           limits to no more than _b_i_t_s the code size of "BSD compress" link
  945.           layer compression on packets transmitted by this system.
  946.  
  947.      ----ttttxxxx____bbbbssssdddd
  948.           disables "BSD compress" link layer compression on packet transmitted
  949.           by this system.
  950.  
  951.      ----rrrrxxxx____pppprrrreeeeddddiiiiccccttttoooorrrr1111
  952.           disables "Predictor Type 1" link layer compression on packets
  953.           received by this system.
  954.  
  955.      rrrrxxxx____bbbbssssdddd====_b_i_t_s
  956.           limits to no more than _b_i_t_s the code size of "BSD compress" link
  957.           layer compression on packets received by this system.
  958.  
  959.      ----rrrrxxxx____bbbbssssdddd
  960.           disables "BSD compress" link layer compression on packet received by
  961.           this system.
  962.  
  963.           "BSD compress" code sizes of 9 to 15 bits are allowed.
  964.  
  965.           "BSD compress" compression is more effective but requires more CPU
  966.           cycles than "Predictor Type 1."  "BSD compress" code sizes larger
  967.           than 12 require more system memory than "Predictor Type 1."
  968.  
  969.           Packets are not compressed unless both the transmitting and
  970.           receiving systems agree.  BSD compress is preferred when both BSD
  971.           compress and Predictor are enabled and permitted by the other
  972.           system.  Both 12-bit "BSD Compress" and "Predictor Type 1"
  973.           compression are enabled by default.  When both are enabled, "BSD
  974.           Compress" is preferred.
  975.  
  976.           The compression a system uses on the packets it transmits is chosen
  977.           and negotiated independently of the compression it expects to see on
  978.           the packets it receives.
  979.  
  980.      ssssttttrrrreeeeaaaammmm____mmmmoooodddduuuulllleeee====_s_n_a_m_e
  981.           adds the stream module with name _s_n_a_m_e to the list of modules that
  982.           will be pushed onto the STREAMS device beneath the two PPP modules.
  983.           The modules are pushed in the order they are named.
  984.  
  985.  
  986.  
  987.                                                                        PPPPaaaaggggeeee 11115555
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  995.  
  996.  
  997.  
  998.      The ppp program must be killed to finally terminate a link that is
  999.      "_c_a_m_p_i_n_g" or in "qqqquuuuiiiieeeetttt" mode (see kkkkiiiillllllll(1) or kkkkiiiillllllllaaaallllllll(1M)).  The TERM or
  1000.      INT signals, as in `killall -v -TERM ppp`, are best because they allow
  1001.      the ppp program to notify the other machine that the link is being turned
  1002.      off.
  1003.  
  1004.    IIIInnnnssssttttaaaallllllllaaaattttiiiioooonnnn NNNNooootttteeeessss
  1005.      The program uses the dialing information on each appropriate line of the
  1006.      /_e_t_c/_u_u_c_p/_S_y_s_t_e_m_s file until it succeeds.  This can be useful if there is
  1007.      more than one telephone number that might be used to contact the remote
  1008.      machine.  A /_e_t_c/_u_u_c_p/_S_y_s_t_e_m_s line like the following works well to call
  1009.      an IRIS running this ppp software:
  1010.  
  1011.           rmt Any ACUSLIP 19200 5551234 "" @\r\c ogin: mynam ssword: xxx PPP
  1012.  
  1013.      The last check for "PPP," output by the ppp program by the remote IRIS
  1014.      just before it starts the IP protocol, ignores banners or messages of the
  1015.      day.  It ensures the remote machine is not waiting for an additional
  1016.      password.  The check for "PPP" may not be appropriate with other brands
  1017.      of computer.
  1018.  
  1019.      The following shell script can be used to start the connection with the
  1020.      Systems file entry above:
  1021.  
  1022.           #!/bin/sh
  1023.           exec </dev/null >/dev/null 2>&1
  1024.           /usr/etc/ppp -r rmt $* &
  1025.  
  1026.      The following sample PPP configuration file assumes a "qqqquuuuiiiieeeetttt" mode
  1027.  
  1028.           # common parameters
  1029.           me   add_route           #install default route
  1030.  
  1031.           # special parameters for rmt,
  1032.           rmt  remotehost=rmt.foo.bar.com
  1033.                quiet                    #requires both host names be known
  1034.                #
  1035.                uucp_name=rmt            #not needed, since same as default
  1036.                continue=me
  1037.  
  1038.           # another host that can use parallel links, and correctly negotiates
  1039.           #   its IP address, and uses ISDN and so needs PAP authentication.
  1040.           other     remotehost=0 outdevs=2
  1041.                send_name=mynam send_passwd=guess@it
  1042.                continue=me
  1043.  
  1044.           # common entry for incoming ISDN connections
  1045.           _ISDN_INCOMING
  1046.                continue=_INCOMING
  1047.  
  1048.           # common entry for incoming WSYNC connections
  1049.           _WSYNC_INCOMING
  1050.  
  1051.  
  1052.  
  1053.                                                                        PPPPaaaaggggeeee 11116666
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  1061.  
  1062.  
  1063.  
  1064.               continue=_INCOMING
  1065.  
  1066.           _INCOMING
  1067.                reconfigure
  1068.  
  1069.  
  1070.      A machine which has no network connection other than a PPP link should
  1071.      use a terminator on its ethernet port, and so act as if it has a valid
  1072.      although very small local area network.
  1073.  
  1074.      Because the ppp program can use the UUCP control files, the best way to
  1075.      install a PPP connection is to first install a UUCP connection.  So, one
  1076.      first creates appropriate entries in the /_e_t_c/_u_u_c_p/_D_i_a_l_e_r_s,
  1077.      /_e_t_c/_u_u_c_p/_D_e_v_i_c_e_s, and /_e_t_c/_u_u_c_p/_S_y_s_t_e_m_s files, and then "debugs" the
  1078.      connection with _c_u -_d _r_e_m_o_t_e_s_y_s_t_e_m.
  1079.  
  1080.      A server which other machines call to use PPP should establish separate
  1081.      "user names" in /etc/passwd (see _p_a_s_s_w_d(4)), all using the ppp program as
  1082.      their "login shell."  Each username should be the same as a remote
  1083.      machine name starting a line in the control file, thereby choosing
  1084.      appropriate parameters for the link.
  1085.  
  1086.      Since the ppp command configures network interfaces, it must be executed
  1087.      with UID 0, and so the password entry on the remote system should use UID
  1088.      0.
  1089.  
  1090.      Routing demons can be used to exchange RIP packets (see rrrroooouuuutttteeeedddd(1M) or
  1091.      ggggaaaatttteeeedddd(1M)) over the link, as well as advertise the link to the rest of
  1092.      the IP network.  The -h option to rrrroooouuuutttteeeedddd can usefully reduce the
  1093.      resulting clutter of "host-routes."  The -F option to rrrroooouuuutttteeeedddd on the
  1094.      machine gatewaying a point-to-point link to an ethernet sends a synthetic
  1095.      "default route" over the PPP link instead of the full routing tables,
  1096.      making the cost of running RIP over the link negligible.
  1097.  
  1098.      Each time the link is (re)established, the program sends a SIGHUP signal
  1099.      to the gated and routed daemons, if they are running.  This causes the
  1100.      routing daemons to more quickly notice the (probably) new network
  1101.      interface and to start advertising adjusted routes.  It also causes a
  1102.      "killed" message in the debugging output.
  1103.  
  1104.      Static routing can be used instead of a routing daemon with the aaaadddddddd____rrrroooouuuutttteeee
  1105.      control file keyword or with rrrroooouuuutttteeee(1M) commands in a
  1106.      /etc/init.d/network.local files associated with the /_e_t_c/_i_n_i_t._d/_n_e_t_w_o_r_k
  1107.      file.
  1108.  
  1109.      Note that
  1110.  
  1111.      A ppp program using demand-dialing ("qqqquuuuiiiieeeetttt" mode in the control file) can
  1112.      call another ppp program which is in input, output, or demand-dialing
  1113.      mode.  In case the other system is calling this system, demand-dialing
  1114.      uses random binary exponential backoffs after failed attempts.
  1115.  
  1116.  
  1117.  
  1118.  
  1119.                                                                        PPPPaaaaggggeeee 11117777
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  1127.  
  1128.  
  1129.  
  1130.      The network information service (NIS, see yyyyppppbbbbiiiinnnndddd(1M)) is not often useful
  1131.      over a PPP link.  it is usually necessary to use local copies of mail
  1132.      aliases.  However, the Internet domain name server can be useful, by
  1133.      creating a /_u_s_r/_e_t_c/_r_e_s_o_l_v._c_o_n_f  file (see rrrreeeessssoooollllvvvveeeerrrr(4)) similar to the
  1134.      following but with the addresses and domain name changed appropriately:
  1135.  
  1136.           domain your.dom.ain
  1137.           hostresorder local bind
  1138.           nameserver 192.26.61.24
  1139.           nameserver 192.26.61.21
  1140.           nameserver 192.26.51.194
  1141.  
  1142.  
  1143.      It is possible to use NFS over a PPP link, necessary to adjust the mount
  1144.      options for the relatively long latencies and low bandwidth (see
  1145.      aaaauuuuttttoooommmmoooouuuunnnntttt(1M) and ffffssssttttaaaabbbb(4)).  Timeouts should be set long enough to allow
  1146.      a complete transaction to pass the link before becoming too late, and
  1147.      having to be retransmitted.  A plausible value for _t_i_m_e_o with default
  1148.      8KByte block sizes over a 19.2Kbit/s link is 90, for 9 seconds.  It can
  1149.      be useful to increase the attribute timeouts substantially, to minutes.
  1150.  
  1151.      To synchronize clocks over a PPP link ttttiiiimmmmeeeedddd can be used, but ttttiiiimmmmeeeessssllllaaaavvvveeee is
  1152.      often more accurate.
  1153.  
  1154.      Once each day at about midnight, if the ppp program has been running for
  1155.      at least several hours, it logs some statistics concerning its work for
  1156.      the previous 24 hours.
  1157.  
  1158. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  1159.      Error messages complaining that "I_PUSH" failed mean that the kernel does
  1160.      not contain the required PPP STREAMS modules, if_ppp and ppp_fram.
  1161.  
  1162. FFFFIIIILLLLEEEESSSS
  1163.      /etc/ppp.conf                 default control file
  1164.      /etc/init.d/network           network start-up script
  1165.      /etc/passwd
  1166.      /var/adm/SYSLOG               system log for debugging messages
  1167.      /etc/uucp/Systems             "modem chat scripts"
  1168.      /etc/uucp/Dialers             "chat scripts" to control modems
  1169.      /etc/uucp/Devices             tty port/modem configurations
  1170.      /etc/hosts                    hostname database
  1171.      /var/sysgen/master.d/if_ppp   kernel STREAMS module
  1172.      /var/sysgen/master.d/ppp_fram
  1173.      /var/sysgen/boot/if_ppp.o
  1174.      /var/sysgen/boot/ppp_fram.o
  1175.      /tmp/.ppp-rendezvous          rendezvous for demand dialing and pppstat
  1176.      /dev/tty[dmf]_x                tty port attached to modem.
  1177.  
  1178. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  1179.      chkconfig(1M), cu(1), getty(1M), ifconfig(1M), icmp(7P), isdn(7M),
  1180.      gated(1M), master(4), passwd(4), pppstat(1m), resolver(4), routed(1M),
  1181.      slip(1m), syslog(1M), wsyncd(1M), uucico(1M)
  1182.  
  1183.  
  1184.  
  1185.                                                                        PPPPaaaaggggeeee 11118888
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192. pppppppppppp((((1111MMMM))))                                                                pppppppppppp((((1111MMMM))))
  1193.  
  1194.  
  1195.  
  1196. BBBBUUUUGGGGSSSS
  1197.      Only IP datagrams (and so TCP, UDP, NFS, and so on) are currently
  1198.      supported.
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.                                                                        PPPPaaaaggggeeee 11119999
  1252.  
  1253.  
  1254.  
  1255.